Puts the action back to the buttons Project Settings gave it, undoing any action_rebind() of it.
action_reset(a)| Name | Type |
|---|---|
a | action |
Nothing.
Puts an action back to the buttons Project Settings gave it. It undoes any action_rebind of that action, and does nothing if the action was never rebound.
if (btn_pressed(BTN_START)) {
action_reset(fire);
action_reset(jump);
}Pressing START gives both actions their own buttons back, like a "reset to defaults" choice on a controls screen.